namespace GgcmsCSharp.Models
{
    using Newtonsoft.Json;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class GgcmsCategory
    {
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string CategoryName { get; set; } = "";

        public int OrderId { get; set; } = 0;

        [StringLength(255)]
        public string LogoImg { get; set; } = "";

        [StringLength(50)]
        public string StyleName { get; set; } = "";

        public int ParentId { get; set; } = 0;

        [StringLength(50)]
        public string TmplName { get; set; } = "";

        [StringLength(50)]
        public string MobileTmplName { get; set; } = "";

        [StringLength(50)]
        public string ArticleTmplName { get; set; } = "";

        [StringLength(50)]
        public string ArticleMobileTmplName { get; set; } = "";

        [StringLength(255)]
        public string RedirectUrl { get; set; } = "";

        public int PageSize { get; set; } = 0;

        public int ImgWidth { get; set; } = 0;

        public int ImgHeight { get; set; } = 0;

        [StringLength(255)]
        public string RssFeed { get; set; } = "";

        [StringLength(255)]
        public string Keywords { get; set; } = "";

        [StringLength(255)]
        public string Description { get; set; } = "";

        public string Content { get; set; } = "";

        public string ExtAttrib { get; set; } = "";

        public int ExtModelId { get; set; } = 0;

        public int CategoryType { get; set; } = 0;

    }
}
